<?php
//sbobet::language_setting(;
$lang = $_SESSION['display_lang'];

$_GET['er'] = $operate;

  unset($_SESSION['members']);
  if($_GET['er']){
	 		$_er = $_GET['er'];  
            switch ($_er) {
            case 1:
               $error_id =1;
                break;
            case 2:
                $error_id =2;
                break;
            case 3:
                $error_id =3;
                break;
            case 4:
                $error_id =4;
                break;
            case 5:
                 $error_id =5;
                break;
            case 6:
                 $error_id =6;
                break;
            case 101:
                 $error_id =9;
                break;
            case 102:
                 $error_id =8;
                break;
            case 104:
                 $error_id =7;
                break;
            case 105:
                $_language['msg10'] = str_replace("{DT}", $dt,$_language['msg10']);
                $error_id =10;
                break;
            case 106:
                $error_id =11;
                break;
            case 107:
                $error_id =12;
                break;
            case 108:
                 $error_id =13;
                break;
            case 14:
            case 114:
			 	$_language['msg14'] = str_replace("{0}", $ip,$_language['msg14']);
              	$error_id =14;
                break;
            case 15:
                 $error_id =15;
                break;
            default:
                break;
            }
           


 	$_var['error'] = get_lang('msg'. $error_id);
	$view_array = compact ( '_var' );
	
  }else{
	systems::redirect('',true);
	//header('Location: /');	 
 }

?>